package com.bangdao.hu.roomba.WifiSignalStrengthMap;

import java.util.HashMap;


/*My Pass: QD3Zq7QW3eg4*/
public class MapPoint {
	
	private int[] coordinates;
	private HashMap<String, Integer> wifiID; 
	
	public MapPoint(int[] coordinates, HashMap<String, Integer> currentWIFI)
	{
		this.coordinates = coordinates;
		this.wifiID = currentWIFI;
	}

	public int[] getCoordinates() {
		return coordinates;
	}

	public void setCoordinates(int[] coordinates) {
		this.coordinates = coordinates;
	}

	public HashMap<String, Integer> getWifiID() {
		return wifiID;
	}

	public void setWifiID(HashMap<String, Integer> wifiID) {
		this.wifiID = wifiID;
	}
	
	public boolean isCurrentPoint(int x, int y)
	{
		if((coordinates[0] == x) && (coordinates[1] == y))
		{
			//System.out.println("current pos x is " + coordinates[0] + " current pos y is " + coordinates[1]);
			return true;
		}
		return false;
		
	}
	
	
}
